package com.liuyu.lottery.domain;

import com.liuyu.common.orm.core.domain.BaseEntity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.RowKeyGenerator;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serial;

/**
 * MailController对象 tbl_mail
 *
 * @author liuyu
 * 2024-03-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table(value = "tbl_mail")
public class Mail extends BaseEntity
{
    @Serial
    private static final long serialVersionUID = 1L;

    /**  */
    @Id
    private Integer id;

    /** smtp服务地址 */
    private String host;

    /** 端口 */
    private Integer port;

    /**  */
    private String fromMail;

    /** 发送密钥 */
    private String pass;

    /** 接收人邮箱多个使用逗号分隔 */
    private String toMail;

    /** 是否加密1-加密,0不加密 */
    private Integer sslEnable;


}
